<template>
    <router-view></router-view>
</template>

<script>
import { defineComponent,reactive, toRefs, onBeforeMount, onMounted } from 'vue'
export default defineComponent({
    name: '',
    setup() {
        const data = reactive({
            
        })
        onBeforeMount(() => {
            // 组件挂载页面之前执行
        })
        onMounted(() => {
            // 组件挂载到页面之后执行
        })
        return {
            ...toRefs(data),
        }
    },
})

</script>

<style scoped>
    
</style>